package org.kzwl.comm.pojo.dto.heritage;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("非遗保护详细")
public class QueryDetailsDTO {

    @ApiModelProperty("自增")
    private Integer cuHeritageId;

    @ApiModelProperty("标题")
    private String cuHeritageTitle;

    @ApiModelProperty("封面")
    private String cuHeritageImg;

    @ApiModelProperty("内容")
    private String cuHeritageContent;

    @ApiModelProperty("发布时间")
    private LocalDateTime cuHeritageDate;

    @ApiModelProperty("发布者")
    private String cuHeritagePublisher;

    @ApiModelProperty("发布者")
    private Integer cuHeritageCategoryId;

    @ApiModelProperty("上一个")
    private Heritage previous;

    @ApiModelProperty("下一个")
    private Heritage next;

    @ApiModelProperty("0-文章 1-视频")
    private Integer cuHeritageType;

    @Data
    public static class Heritage {
        @ApiModelProperty("自增")
        private Integer cuHeritageId;

        @ApiModelProperty("标题")
        private String cuHeritageTitle;
    }
}
